#include"queue_my.h"


int main()
{
	QUEUE queue;
	init_queue(&queue,10);
	en_queue(&queue, 5, 10);
	en_queue(&queue, 6, 10);
	en_queue(&queue, 7, 10);
	en_queue(&queue, 8, 10);
	en_queue(&queue, 9, 10);
	en_queue(&queue, 10,10);
	en_queue(&queue, 11,10);
	en_queue(&queue, 12,10);
	en_queue(&queue, 10, 10);
	traverse_queue(&queue,10);
	out_queue(&queue, 10);
	out_queue(&queue, 10);
	out_queue(&queue, 10);
	out_queue(&queue, 10);
	out_queue(&queue, 10);
	out_queue(&queue, 10);
	out_queue(&queue,10);
	traverse_queue(&queue, 10);

	system("pause");
	return EXIT_SUCCESS;
}
